projects
/
project
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13805fc
)
odhcp6c: fix "-S" usage
author
Álvaro Fernández Rojas
<
[email protected]
>
Sun, 14 Dec 2025 21:41:32 +0000
(22:41 +0100)
committer
Álvaro Fernández Rojas
<
[email protected]
>
Wed, 17 Dec 2025 07:59:45 +0000
(08:59 +0100)
Commit
1d6c4e794cdb
converted "-S" option from integer to boolean, but
usage wasn't properly updated.
Fixes: 1d6c4e794cdb ("src: convert allow_slaac_only to boolean")
Link:
https://github.com/openwrt/odhcp6c/pull/136
Signed-off-by: Álvaro Fernández Rojas <
[email protected]
>
src/odhcp6c.c
patch
|
blob
|
history
diff --git
a/src/odhcp6c.c
b/src/odhcp6c.c
index 123d9d3767fcdaa1eb5d15e02f4827ff37616c2c..6c6acd452c0dd7afac69f475d67689d5b13fcc94 100644
(file)
--- a/
src/odhcp6c.c
+++ b/
src/odhcp6c.c
@@
-776,7
+776,7
@@
static int usage(void)
const char buf[] =
"Usage: odhcp6c [options] <interface>\n"
"\nFeature options:\n"
- " -S
<time> Wait at least <time> sec for a DHCP-server (0)
\n"
+ " -S
Don't allow configuration via SLAAC (RAs) only
\n"
" -D Discard advertisements without any address or prefix proposed\n"
" -N <mode> Mode for requesting addresses [try|force|none]\n"
" -P <[pfx/]len> Request IPv6-Prefix (0 = auto)\n"